Skip to content

Fix: html already decoded by displayText()#37

Closed
enboig wants to merge 1 commit intopluginsGLPI:mainfrom
enboig:main
Closed

Fix: html already decoded by displayText()#37
enboig wants to merge 1 commit intopluginsGLPI:mainfrom
enboig:main

Conversation

@enboig
Copy link

@enboig enboig commented Sep 17, 2025

Checklist before requesting a review

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes # (issue number, if applicable)
    - forum post
  • Here is a brief description of what this PR does
    It avoid decoding twice html text, which breaks thins when "<" is used as it is interpreted as "tag opening".

@stonebuzz stonebuzz self-requested a review September 30, 2025 13:34
@enboig
Copy link
Author

enboig commented Sep 30, 2025

I checked the "errors" and they are deprecations which came from original branch. How should I proceed?

@stonebuzz
Copy link

Hi,

Your issue will be resolved in the next version of the PDF plugin (compatible with GLPI 11).

This is because, starting from GLPI 11, the sanitize feature is no longer required.

Best regards,

@stonebuzz stonebuzz closed this Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants